
<include file="Public/ace_header" />
    <div class="row">
        <form class="form-horizontal" role="form" method="post"  style="padding-left: 10px;padding-right: 10px;">
            <div class="form-group">
                <label class="col-xs-12 col-sm-3 col-md-3 control-label no-padding-right" for="buyer_contract_content"> 用户补充合同 </label>
                <div class="col-xs-12 col-sm-6">
                    <div class="panel panel-default">
                      <div class="panel-body">
                            {$model["buyer_content"]|html_entity_decode}
                      </div>
                    </div>
                </div>
                <div class="help-block col-xs-12 col-sm-reset inline" style="margin-bottom: 5px;"></div>
            </div>
            
            <if condition="($model['seller_contract_state'] eq '已签署') AND ($model['buyer_contract_state'] eq '已签署')">
            <div class="form-group">
                <label class="col-xs-12 col-sm-3 col-md-3 control-label no-padding-right" for="seller_content"> 旅社补充合同 </label>
                <div class="col-xs-12 col-sm-6">
                    <div class="panel panel-default">
                      <div class="panel-body">
                            {$model["seller_content"]|html_entity_decode}
                      </div>
                    </div>
                </div>
                <div class="help-block col-xs-12 col-sm-reset inline" style="margin-bottom: 5px;"></div>
            </div>
            <else/>
            <div class="form-group">
                <label class="col-xs-12 col-sm-3 col-md-3 control-label no-padding-right" for="seller_content"> 旅社补充合同 </label>
                <div class="col-xs-12 col-sm-6">
                    <span class="block input-icon input-icon-right">
                        <textarea class="col-xs-12 col-sm-6 width-100" style="padding: 5px 4px;" rows="5" id="seller_content" name="seller_content" placeholder="旅社补充合同" validate-required="required:请填写旅社补充合同" >{$model["seller_content"]|default=''}</textarea>
                        <i class=""></i>
                    </span>
                </div>
                <script type="text/javascript">var editor = UE.getEditor('seller_content');</script>
                <div class="help-block col-xs-12 col-sm-reset inline" style="margin-bottom: 5px;"></div>
             </div>
            </if>
            <div class="form-group">
                <label class="col-xs-12 col-sm-3 col-md-3 control-label no-padding-right" for="buyer_contract_state"> 用户签署情况 </label>
                <div class="col-xs-12 col-sm-6">
                    <span class="block input-icon input-icon-right">
                        <input type="text" class="width-100" placeholder="用户签署情况" id="buyer_contract_state" name="buyer_contract_state"  value="{$model['buyer_contract_state']|default=''}" validate-required="required:请填写用户签署情况" <if condition="ACTION_NAME eq update">readonly</if>/>
                        <i class=""></i>
                        <small style="color:gray;"></small>
                    </span>
                </div>
                <div class="help-block col-xs-12 col-sm-reset inline" style="margin-bottom: 5px;"></div>
             </div>
            <if condition="$model['seller_contract_state'] eq '已签署'">
            <div class="form-group">
                <label class="col-xs-12 col-sm-3 col-md-3 control-label no-padding-right" for="seller_contract_state"> 旅社合同签署情况 </label>
                <div class="col-xs-12 col-sm-6">
                    <span class="block input-icon input-icon-right">
                        <input type="text" class="width-100" id="seller_contract_state" name="seller_contract_state"  value="{$model['seller_contract_state']|default=''}" <if condition="ACTION_NAME eq update">readonly</if>/>
                    </span>
                </div>
                <div class="help-block col-xs-12 col-sm-reset inline" style="margin-bottom: 5px;"></div>
             </div>
            <else/>
            <div class="form-group">
                <label class="col-xs-12 col-sm-3 col-md-3 control-label no-padding-right" for="seller_contract_state"> 旅社合同签署情况 </label>
                <div class="col-xs-12 col-sm-6">
                    <span class="block input-icon input-icon-right">
                        <select name="seller_contract_state" id="seller_contract_state" class="width-100" <if condition="ACTION_NAME eq update">readonly</if>>
                             <option value="未签署" <if condition ="$model['seller_contract_state'] eq '未签署'"> selected </if> >未签署</option>
                             <option value="已签署" <if condition ="$model['seller_contract_state'] eq '已签署'"> selected </if> >已签署</option>
                        </select>
                        <i class=""></i>
                    </span>
                </div>
                <div class="help-block col-xs-12 col-sm-reset inline" style="margin-bottom: 5px;"></div>
             </div>
            </if>
            <div class="clearfix form-actions">
                <div style="margin-left: 25%;">
                    <button class="btn btn-info btn-sm" type="submit">
                        <i class="icon-ok bigger-110"></i>
                        提交
                    </button>
                    &nbsp; &nbsp; &nbsp;
                    <button class="btn btn-sm return" type="button">
                        <i class="icon-reply bigger-110"></i>
                        返回
                    </button>
                </div>
            </div>
        </form>
    </div>
<include file="Public/ace_footer" />